package com.wfw.client;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@SpringBootApplication
@EnableEurekaClient
@EnableAutoConfiguration
@RestController
@EnableHystrixDashboard
@EnableHystrix
public class WfwClientApplication {

	public static void main(String[] args) {
		new SpringApplicationBuilder(WfwClientApplication.class).run(args);
	}
	@RequestMapping("/")
	public String home() {
		return "Hello world";
	}
}
